package cn.damai.search.baseService;

import cn.damai.model.Trade;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface BaseTradeService {

    public Trade getTradeById(@RequestParam("id") Long id);

    public List<Trade>	getTradeListByMap(@RequestParam Map<String, Object> param);

    public Integer getTradeCountByMap(@RequestParam Map<String, Object> param);

    public Integer qdtxAddTrade(@RequestBody Trade Trade);

    public Integer qdtxModifyTrade(@RequestBody Trade Trade);


}
